package org.corey.share.db.service;

import org.corey.share.db.entity.User;
import org.corey.share.throwable.ValidationUserException;

public interface AuthService {
	
	public Long getUserId();

	public User getUser();

	public boolean isLogin();

	public void layout();

	public boolean login(String userName, String password, String checkCode)
			throws ValidationUserException;
	
	public boolean isRequireAdminPermission(String requestPath);
}
